package com.qk.management.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qk.common.PageResult;
import com.qk.dto.role.AddRoleDTO;
import com.qk.dto.role.UpdateRoleDTO;
import com.qk.entity.Role;
import com.qk.dto.role.QueryPageRoleDTO;

import java.util.List;

/**
 * @Author:gzc
 * @Date: 2025/10/06 19:39
 * @Description:
 */
public interface RoleService extends IService<Role> {

    PageResult<Role> queryListByPage(QueryPageRoleDTO queryPageRoleDTO);


    void deleteRole(Integer id);


    void addRole(AddRoleDTO addRoleDTO);


    Role queryById(Integer id);


    void updateRole(UpdateRoleDTO updateRoleDTO);

    List<Role> queryAll();
}
